import Vue from 'vue'
import Vuex from 'vuex'

import app from './modules/app'
import user from './modules/user'

Vue.use(Vuex)
Vue.config.devtools = process.env.NODE_ENV === 'development'

const modules = {
  app,
  user
}

export default new Vuex.Store({
  modules
})
